import request from '@/utils/request'
//授课计划接口
export function eduLessonQuery(data) {
  return request({
    method: 'get',
    url: '/eduLesson/query',
    params: data,
  })
}

export function eduLessonQueryById(id) {
  return request({
    method: 'get',
    url: '/eduLesson/query/' + id,
  })
}

export function eduLessonAdd(data) {
  return request({
    method: 'post',
    url: '/eduLesson/add',
    data,
  })
}

export function eduLessonDelete(id) {
  return request({
    method: 'get',
    url: '/eduLesson/delete/' + id,
  })
}

export function eduLessonUpdate(data) {
  return request({
    method: 'post',
    url: '/eduLesson/update',
    data,
  })
}
